SDEF
//  $Logfile:: /Quake 2 Engine/Sin/Base Sin Data/Models/Neutral/scientist.def $
// $Revision:: 21                                                             $
//   $Author:: Beau                                                           $
//     $Date:: 10/26/98 11:33p                                                $
//
// Copyright (C) 1998 by Ritual Entertainment, Inc.
// All rights reserved.
//
// This source may not be distributed and/or modified without
// expressly written permission by Ritual Entertainment, Inc.
//
// DESCRIPTION:
// This is a model definition file.  It is to be used in conjunction with Sin.
// MODEL AUTHOR:
// Beau
//
// Modified by 2015 for use in Wages of Sin
//
// SINED SECTION
//
//
/*SINED Neutral_Lansing (1 .5 0) (0 0 0) (0 0 0)
Dr Lansing
*/

//
// FILE DECLARATIONS
//

// Model Commands
path models/scientist
scale 1.07

// Base Model
lansing_base.sbm

// Skins
normal lansing_04a.tga
damage lansing_damage_04a.tga

// Normal Animations
walk1  	sci_walk.SAM
idle1 	sci_idle1.SAM
run1		sci_run.SAM
death1	sci_death1.SAM
death2	sci_death2.SAM
death3	sci_death3.SAM

melee1            sci_attack1.sam
melee2            sci_attack2.sam
melee3            sci_attack3.sam

gibdeath_upper		sci_gibdeath1.SAM
gibdeath_lower		sci_gibdeath2.SAM

// Pain Location Based Animations
pain_torso_upper       sci_paintorsoupper.sam
pain_torso_lower       sci_paintorsolower.sam
pain_head              sci_painhead.sam
pain_leg_right_upper   sci_painlegright.sam
pain_leg_right_lower   sci_painlegright.sam
pain_leg_left_upper    sci_painlegleft.sam
pain_leg_left_lower    sci_painlegleft.sam
pain_arm_right_upper   sci_painarmright.sam
pain_arm_right_lower   sci_painarmright.sam
pain_arm_left_upper    sci_painarmleft.sam
pain_arm_left_lower    sci_painarmleft.sam

// Death Location Based Animations

// Crouching Pain Location Based Animations

// Crouching Death Location Based Animations

// Optional Animations
work1 			sci_work1.sam
sitting			sci_sitting.SAM

// Scripted Animations
type 	sci_type.sam
point	sci_point.sam
dontshoot	lansing_dontshoot.sam

// Id And Group Definitions
id   5 group head flesh 
group head damage 4.0
id  15 group torso_upper fabric
group torso_upper damage 1.0 
id  18 group torso_lower fabric
id  10 group torso_lower twosided
group torso_lower damage 1.0
id  45 group leg_left_upper fabric
group leg_left_upper damage .8
id  50 group leg_left_lower fabric
group leg_left_lower damage .6
id  65 group leg_right_upper fabric
group leg_right_upper damage .8 
id  70 group leg_right_lower fabric
group leg_right_lower damage .6 
id  85 group arm_left_upper fabric
group arm_left_upper damage .8 
id  90 group arm_left_lower fabric
group arm_left_lower damage .6
id 105 group arm_right_upper fabric
group arm_right_upper damage .8 
id 110 group arm_right_lower fabric 
id 200 group arm_right_lower bone gun 180 180 0 2015attach flesh
group arm_right_lower damage .6
id 210 group forehead bone toupee 0 180 90 2015attach flesh


//
// INITIALIZATION SECTION
//
//
!init:

//
// SERVER Initialization Commands
//

// Class Setup
server classname actor
server setsize "-16 -16 0" "16 16 80"
server script global/enemy_meleeweapon.scr
//server script global/neutral.scr
server health 30
server meleedamage 10
server meleerange 90
//server attachmodel toupee.def toupee

// Sound Aliases

//
// CLIENT Initialization Commands
//

// Sound Aliases
client aliascache snd_pain1 "monsters/scientist/pain1.wav" 1
client aliascache snd_pain2 "monsters/scientist/pain2.wav" 1
client aliascache snd_pain3 "monsters/scientist/pain3.wav" 1
client aliascache snd_pain4 "monsters/scientist/pain4.wav" 1
client aliascache snd_death1 "monsters/scientist/death1.wav" 1
client aliascache snd_death2 "monsters/scientist/death2.wav" 1
client aliascache snd_death3 "monsters/scientist/death3.wav" 1
server aliascache snd_idle1 "monsters/scientist/idle1.wav" 1
server aliascache snd_idle2 "monsters/scientist/idle2.wav" 1
server aliascache snd_idle3 "monsters/scientist/idle3.wav" 1
server aliascache snd_idle4 "monsters/scientist/idle4.wav" 1
server aliascache snd_idle4 "monsters/scientist/idle4.wav" 1
server aliascache snd_sightenemy1 "monsters/scientist/site1.wav" 1
server aliascache snd_sightenemy2 "monsters/scientist/site2.wav" 1
server aliascache snd_sightenemy3 "monsters/scientist/site3.wav" 1
server aliascache snd_sightenemy4 "monsters/scientist/site4.wav" 1
server aliascache snd_sightenemy5 "monsters/scientist/site5.wav" 1
server aliascache snd_panic1 "monsters/scientist/panic1.wav" 1
server aliascache snd_panic2 "monsters/scientist/panic2.wav" 1
client aliascache snd_kneefall1 "impact/bodyfall/sml1.wav" 1
client aliascache snd_kneefall2 "impact/bodyfall/sml2.wav" 1
client aliascache snd_partfall1 "impact/bodyfall/med1.wav" 1
client aliascache snd_partfall2 "impact/bodyfall/med2.wav" 1
client aliascache snd_partfall3 "impact/bodyfall/med3.wav" 1
client aliascache snd_bodyfall1 "impact/bodyfall/lrg1.wav" 1
client aliascache snd_bodyfall2 "impact/bodyfall/lrg2.wav" 1
client aliascache snd_pour1 "monsters/scientist/pour.wav" 1
client aliascache snd_fizz1 "monsters/scientist/fizz.wav" 1
client aliascache snd_shake1 "monsters/scientist/shake.wav" 1
client aliascache snd_choke1 "monsters/grunt/death1.wav" 1


//
// SHARED initialization commands
//

// Sound Aliases


//
// MAIN SECTION
//
//
!main:

// Normal Animations

server death1 first deathsound
client death1 first randomsound snd_death 1 2
client death1 3 randomsound snd_kneefall .6 4
client death1 18 randomsound snd_bodyfall .7 4
server death2 first deathsound
client death2 first randomsound snd_death 1 2
client death2 4 randomsound snd_bodyfall .7 4
client death2 8 randomsound snd_kneefall .7 4
server death3 first deathsound
client death3 first randomsound snd_choke 1 2
client death3 2 randomsound snd_kneefall .7 4
client death3 10 randomsound snd_bodyfall .7 4

server melee1 2 movementsound
server melee1 2 melee
client melee1 2 randomsound snd_whoosh 1 4

server melee2 2 movementsound
server melee2 2 melee
client melee2 2 randomsound snd_whoosh 1 4

server melee2 1 movementsound
server melee3 1 melee
client melee3 1 randomsound snd_whoosh 1 4

server walk1 1 movementsound
client walk1 1 footstep
server walk1 5 movementsound
client walk1 5 footstep

server run1 0 movementsound
client run1 0 footstep
server run1 4 movementsound
client run1 4 footstep

// Pain Location Based Animations
server pain_head            first painsound
client pain_head            first randomsound snd_pain 1 2
server pain_torso_upper     first painsound
client pain_torso_upper     first randomsound snd_pain 1 2
server pain_torso_lower     first painsound
client pain_torso_lower     first randomsound snd_pain 1 2
server pain_arm_right_upper first painsound
client pain_arm_right_upper first randomsound snd_pain 1 2
server pain_arm_right_lower first painsound
client pain_arm_right_lower first randomsound snd_pain 1 2
server pain_arm_left_upper  first painsound
client pain_arm_left_upper  first randomsound snd_pain 1 2
server pain_arm_left_lower  first painsound
client pain_arm_left_lower  first randomsound snd_pain 1 2
server pain_leg_right_upper first painsound
client pain_leg_right_upper first randomsound snd_pain 1 2
server pain_leg_right_lower first painsound
client pain_leg_right_lower first randomsound snd_pain 1 2
server pain_leg_left_upper  first painsound
client pain_leg_left_upper  first randomsound snd_pain 1 2
server pain_leg_left_lower  first painsound
client pain_leg_left_lower  first randomsound snd_pain 1 2

// Death Location Based Animations

// Crouching Pain Location Based Animations

// Crouching Death Location Based Animations

// Optional Animations
client work1 2 randomsound snd_shake 1 2
client work1 3 randomsound snd_shake 1 2
client work1 4 randomsound snd_shake 1 2
client work1 5 randomsound snd_shake 1 2
client work1 5 randomsound snd_idle 1 4
client work1 6 randomsound snd_fizz 1 2
client work1 28 randomsound snd_pour 1 2

server gibdeath_upper first group head +nodraw
server gibdeath_upper first group torso_upper +nodraw
server gibdeath_upper first group arm_left_upper +nodraw
server gibdeath_upper first group arm_left_lower +nodraw
server gibdeath_upper first group arm_right_upper +nodraw
server gibdeath_upper first group arm_right_lower +nodraw

server gibdeath_upper first group torso_lower +skin1
server gibdeath_upper first group leg_left_upper +skin1
server gibdeath_upper first group leg_left_lower +skin1
server gibdeath_upper first group leg_right_upper +skin1
server gibdeath_upper first group leg_right_lower +skin1

server gibdeath_lower first group torso_lower +nodraw
server gibdeath_lower first group leg_left_upper +nodraw
server gibdeath_lower first group leg_left_lower +nodraw
server gibdeath_lower first group leg_right_upper +nodraw
server gibdeath_lower first group leg_right_lower +nodraw

server gibdeath_lower first group head +skin1
server gibdeath_lower first group torso_upper +skin1
server gibdeath_lower first group arm_left_upper +skin1
server gibdeath_lower first group arm_left_lower +skin1
server gibdeath_lower first group arm_right_upper +skin1
server gibdeath_lower first group arm_right_lower +skin1


// Scripted Animations
dontshoot 11 nextframe 2

//
// SOURCESAFE Update Log
//
// $Log:: /Quake 2 Engine/Sin/Base Sin Data/Models/Neutral/scientist.def      $
// 
// 21    10/26/98 11:33p Beau
// added melee attacks 
// 
// 20    10/26/98 10:56p Beau
// 
// 19    10/23/98 5:13p Beau
// 
// 18    10/16/98 9:53p Phook
// performed sanity checks on all neutrals
// 
// 17    10/13/98 1:57p Beau
// 
// 16    9/22/98 7:51p Zak
// tweaked animations and sounds
// 
// 15    9/21/98 9:56p Zak
// 
// 14    9/20/98 8:36p Onethumb
// Semi-final revisions complete, almost ready for first half beta
//



